package open.tech.dawn.rest.module.system.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import open.tech.dawn.jdbc.SuperModel;

/**
 * <p>
 * 角色和菜单关联表
 * </p>
 *
 * @author joss
 * @since 2019-11-07
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class SysRelation extends SuperModel {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.UUID)
    private String id;

    /**
     * 菜单id
     */
    private Long menuid;

    /**
     * 角色id
     */
    private Integer roleid;


}
